#ifndef _CAMERAEVENTHANDLE_H_
#define _CAMERAEVENTHANDLE_H_

#include <SECore/EventHandler.h>
#include <SERender/Entity/Camera.h>

namespace SEngine
{
    class CameraEventHandler : public EventHandler
    {
    public:
        CameraEventHandler(EnableEventHandle & enHandle, Camera & camera);
        virtual ~CameraEventHandler() = default;

        virtual void OnEvent(EventPtr) override;
        virtual void OnUpdate(int delta) override;

    protected:
        Camera & m_camera;
    };

} // namespace SEngine



#endif